.container {
    /* 这里的弹性布局 让元素能够水平排列 并且能够让a这个行内元素设置宽度和高度 */
    display: flex;
    width: 250px;
    height: 14vh;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.container a {
    text-decoration: none;
}


.container .btn {
    overflow: hidden;
    position: relative;
    width: 40px;
    height: 40px;
    text-align: center;
    line-height: 40px;
    margin: 0 10px;
    border-radius: 12px;
    background-color: #fff;
    box-shadow: 0 5px 15px -5px rgba(0, 0, 0, 0.1);

}

.container .btn.dark {
    background-color: #353535;
}

.container .iconfont {
    display: block;
    font-size: 37px;
    transform: scale(0.8);
    transition: all 0.4s cubic-bezier(0.31, -0.1, 0.43, 1.59);
    z-index: 99;
}

.container .btn::before {
    content: "";
    position: absolute;
    top: 90%;
    left: -110%;
    width: 120%;
    height: 120%;
    transform: rotate(45deg);
    transition: all 0.4s cubic-bezier(0.31, -0.1, 0.43, 1.59);

}

.container .btn .icon-QQ-circle-fill {
    color: #12b7f5;
}

.container .btn_qq::before {
    background-color: #12b7f5;
}

.container .btn .icon-weixin {
    color: #2aae67;
}

.container .btn_weixin::before {
    background-color: #2aae67;
}

.container .btn .icon-gitee2 {
    color: #dc3545;
}

.container .btn_gitee::before {
    background-color: #dc3545;
}

.container .btn .icon-youjian {
    color: #bf00ff;
}

.container .btn_youjian::before {
    background-color: #bf00ff;
}

.container .btn:hover::before {
    top: -10%;
    left: -10%;
}

.container .btn:hover .iconfont {
    color: #fff;
    transform: scale(1);
}

.container .btn.dark.btn_qq:hover {
    box-shadow: 0px 0px 35px rgba(81, 203, 238, 1);
}

.container .btn.dark.btn_weixin:hover {
    box-shadow: 0px 0px 35px rgba(42, 174, 103, 1);
}

.container .btn.dark.btn_gitee:hover {
    box-shadow: 0px 0px 35px rgba(220, 53, 69, 1);
}

.container .btn.dark.btn_youjian:hover {
    box-shadow: 0px 0px 35px rgba(191, 0, 255, 1);
}